<div class="tms-main-page-function">
    <div class="main-content">
        <div class="page-function">
            <ul class="wms-wbm-fun-left">
                <button class="layui-btn" ng-click="exports()">导出</button>
                <a class="layui-btn" id="islExport" ng-href='{{excelUrl}}' ng-show="false"></a>
            </ul>
            <div class="wms-wbm-fun-right">
                <button class="layui-btn" ng-click="moreClick()" ng-bind="moreText">更多条件</button>
                <i class="iconfont icon-shuaxin layui-anim layui-anim-loop layui-anim-rotate wms-refresh"
                   ng-click="refreshClick()" refresh></i>
            </div>
        </div>
        <div class="otherForm" ng-show="otherForm">
            <ul>
                <li>
                    <div class="otherFormItem">
                        <div>车架号(VIN)</div>
                        <div>
                            <input type="text" class="layui-input" ng-model="search.vin"/>
                        </div>
                    </div>
                    <div class="otherFormItem">
                        <div>车型</div>
                        <div>
                            <input type="text" class="layui-input" ng-model="search.vehicleSpecName"/>
                        </div>
                    </div>
                    <div class="otherFormItem">
                        <div>仓库CODE</div>
                        <div>
                            <input class="layui-input" ng-model="search.whCode" type="text"/>
                        </div>
                    </div>
                </li>
                <li>
                    <div class="otherFormItem">
                        <div>入库确认时间</div>
                        <div>
                            <input type="text" lay-verify="date" placeholder="yyyy-mm-dd"
                                   ng-model="search.startTime" ng-click="Tools.modelAssignment($event,this)"
                                   autocomplete="off" class="layui-input"
                                   onclick="layui.laydate({elem: this,format:'YYYY-MM-DD',choose : angular.element(this).scope().Tools.modelAssignment,scope:angular.element(this).scope()})">
                        </div>
                    </div>
                    <div class="otherFormItem">
                        <div>至</div>
                        <div>
                            <input type="text" lay-verify="date" placeholder="yyyy-mm-dd" ng-model="search.endTime"
                                   ng-click="Tools.modelAssignment($event,this)" autocomplete="off" class="layui-input"
                                   onclick="layui.laydate({elem: this,format:'YYYY-MM-DD',choose : angular.element(this).scope().Tools.modelAssignment,scope:angular.element(this).scope()})">
                        </div>
                    </div>
                </li>

                <li>
                    <div class="otherFormItem otherFormItemButton">
                        <button class="layui-btn" ng-click="searchClick()">查询</button>
                        <button class="layui-btn" ng-click="resetClick()">重置</button>
                    </div>
                </li>
            </ul>
        </div>
        <div class="layui-form scrollTable">
            <table class="layui-table wms_wbm_main_table serial minScreen">
                <tbody>
                <tr>
                    <th>序号</th>
                    <th>车架号(VIN码)</th>
                    <th>车型</th>
                    <th>收货完成时间</th>
                    <th>入库确认时间</th>
                    <th>收货操作人</th>
                    <th>入库确认人</th>
                    <th>仓库CODE</th>
                    <th>位置</th>
                </tr>
                <tr ng-repeat="inboundRecord in inboundRecordsList" ng-click="Tools.initTableClick($event)">
                    <td ng-bind="$index + 1"></td>
                    <td ng-bind="inboundRecord.odd_vin"></td>
                    <td ng-bind="inboundRecord.odd_vehicle_spec_name"></td>
                    <td ng-bind="inboundRecord.od_consignee_date"></td>

                    <td ng-bind="inboundRecord.rkDate"></td>
                    <td ng-bind="inboundRecord.od_consignee_name"></td>
                    <td ng-bind="inboundRecord.inboundConfirmUser"></td>
                    <td ng-bind="inboundRecord.odd_wh_code"></td>
                    <td ng-bind="inboundRecord.od_wh_name  + '-' + inboundRecord.odd_wh_zone_name + '-' + inboundRecord.odd_wh_loc_code"></td>
                </tr>
                </tbody>
            </table>
        </div>
        <div class="admin-table-page" style="text-align: center;">
            <div id="pages" class="page">
            </div>
        </div>
    </div>
</div>